#include <STC15F2K60S2.H>
#include "smg.h"
#include "I2C.h"
#include "PCF8591.h"

int Data;

void main()
{
	All_Init();		
	
	while(1)
	{
		Data = PCF8591_ReadByte(0X00);
		Nixie(1, Data/1000%10);
		Nixie(2, Data/100%10);
		Nixie(3, Data/10%10);
		Nixie(4, Data/1%10);
	}
}
